package com.application.domain;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class request {
    @TableId(type = IdType.ASSIGN_ID)
    @TableField(select = false)
    private String id;
    private String acid;
    private String username;
    private String tel;
    @TableField(value = "act_name")
    private String name1;
    @TableField(value = "com_name")
    private String name2;
    @TableField(value = "act_flag")
    private Integer flag1;

    @TableField(value = "com_flag")
    private Integer flag2;
    private String openid;
    private String picture;
    private String destination;
    private String start;


    @TableLogic
    private Integer deleted;
    @Version
    private Integer version;


    public request(String username, String tel, String openid, String com_name) {
        this.username = username;
        this.tel = tel;
        this.openid = openid;
        this.name2 = com_name;
    }

    public request(String username, String tel, String openid) {
        this.username = username;
        this.tel = tel;
        this.openid = openid;
    }


}
